//引入封装的公共的请求插件
import { GET, POST, UPLOAD } from "@/services/request.js";

export default {
  addCart(data = {}) {
    return POST({
      url: "/product/cart/addCart",
      params: data,
    });
  },
  initCart(data = {}) {
    return POST({
      url: "/product/cart/initCart",
      params: data,
    });
  },
  numsChange(data={}){
    return POST({
      url:"/product/cart/numsChange",
      params:data
    })
  },
  delShop(data={}){
    return POST({
      url:"/product/cart/delShop",
      params:data
    })
  }
};
